package com.fr.analyzer;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class WordNode implements Serializable {
	private static final long serialVersionUID = -678805828155477126L;

	char c;
	Map<Character, WordNode> sub = new HashMap<>();
	String id;
	String type;
	String parentId;
	
	String wholeWord;

	boolean isEnd = false;

	@Override
	public String toString() {
		return "WordNode [id=" + id + ", type=" + type + ", parentId="
				+ parentId + ", wholeWord=" + wholeWord + "]";
	}
	
	

}
